package com.example.oraceldemo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author gemini
 * @since 2021-04-19
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="TabStar对象", description="")
public class TabRun{
    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 政务网上用户id
     */
    @TableField("zw_userid")
    private Integer zwUserid;
    /**
     * 钉钉上userid
     */
    @TableField("dd_userid")
    private String ddUserid;
    /**
     * 姓名
     */
    @TableField("user_name")
    private String userName;
    /**
     * 电话
     */
    @TableField("tel")
    private String tel;
    /**
     * 真实步数
     */
    @TableField("steps")
    private String steps;
    /**
     * 展示步数
     */
    @TableField("show_steps")
    private String showSteps;
    /**
     * 耗能
     */
    @TableField("energy")
    private String energy;
    /**
     * 距离
     */
    @TableField("distance")
    private String distance;
    /**
     * 性别
     */
    @TableField("sex")
    private String sex;
    /**
     * 日期
     */
    @TableField("date")
    private String date;
    /**
     * 年的第几周
     */
    @TableField("week")
    private String week;


    @Override
    public String toString() {
        return "TabRun{" +
        ", id=" + id +
        ", zwUserid=" + zwUserid +
        ", ddUserid=" + ddUserid +
        ", userName=" + userName +
        ", tel=" + tel +
        ", steps=" + steps +
        ", showSteps=" + showSteps +
        ", energy=" + energy +
        ", distance=" + distance +
        ", sex=" + sex +
        ", date=" + date +
        ", week=" + week +
        "}";
    }
}
